Traditional trust and reputation models do not pay enough attention to nodes'deceit in recommendation, so their reputation evaluation may be affected by malicious nodes' collusion. A trust and reputation model named Enhanced Attack Resistible Ant-based Trust and Reputation Model (EAraTRM) was proposed, which is based on ant colony algorithm. Node recommendation behaviors analysis and adaptive mechanism to malicious nodes density were added into reputation evaluation of EAraTRM to overcome the shortage of traditional models. Simulation experiments show that EAraTRM can restrain the collusion of malicious nodes, and give more accurate reputation evaluation results, even when 90% nodes in a network are malicious and the comparison models have failed.